package com.exam.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author XueWanglin
 * @ClassName ExamMessage
 * @Description TODO
 * @Date 2021/1/12 16:53
 * @Version 1.0
 */
@AllArgsConstructor
@Data
@NoArgsConstructor
public class ExamMessage {
    private Integer examCode;
    private String source;
    private String description;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date examDate;
    private Integer totalTime;
    private Integer totalScore;
    private String institute;
    private String type;
    private Integer paperId;
}
